home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / programs / fdtn002.zip / FDTN-002.VFD < prev   
Text File  |  1993-02-27  |  10KB  |  255 lines

  1. Filename....: FDTN-002.VFD; FrontDoor & RemoteAccess Technical Note #002
  2. Rev.........: 001
  3. Dated.......: 27-Feb-93
  4.  
  5. Subject.....: Using the OS/2 version 2.0x GA Release with relevant CSD
  6.               Service Pak with FrontDoor 2.02 and above, and RemoteAccess
  7.               1.11 and above.
  8.  
  9. Author......: John A.H. Barton
  10.               2:257/168@fidonet
  11.               jbionic@lonemb.demon.co.uk
  12.  
  13. Status......: This document may be used and distributed freely provided
  14.               no charge is imposed, this includes trading, other than to
  15.               recover the cost of the actual transfer; i.e. the cost of a
  16.               diskette or telephone call to transfer the document.
  17.  
  18. Abstract....: The purpose of this document is to provide one method of
  19.               implementation with regards to the use of OS/2 version 2.0
  20.               GA with FrontDoor v2.02 or above. The intent is to provide
  21.               a sample configuration with the options and settings with
  22.               regards to achieving the best settings for communications
  23.               and operating OS/2.
  24.  
  25.               Copyright 1993 John A.H. Barton; All rights reserved.
  26.  
  27.               All trademarks and registered trademarks are proprietary
  28.               to their respective owners.
  29.  
  30.               The author wishes to thank all those who have contributed
  31.               ideas and corrections to this document.
  32.  
  33.  
  34. Caveats
  35. -------
  36. The settings and techniques used in this document do not represent the
  37. ONLY way to do this, and perhaps do not even represent the optimal
  38. configuration, and the information in this document is subject to change,
  39. based upon updated information, error corrections, increased or updated
  40. modem capability, or FD and OS/2 updates.
  41.  
  42. The settings used are based upon OS/2 2.0 GA Release, and some options
  43. may not be available on your systems yet. Where possible, I have noted
  44. which settings may differ, however it is placed upon the reader to
  45. examine and report the viability of the suggested techniques with regards
  46. to the particular options in use.
  47.  
  48. For optimal modem settings for CCITT V.32bis modems refer to FDTN-001.
  49.  
  50. The contributors to this file make no warranties, neither expressed
  51. nor implied. The aim behind the procedures described below is to
  52. encourage experimentation within a wide range of PC configurations.
  53. In no way can any of the creators of this file be held liable for any
  54. losses in time, matter, service, expected profit, or patience!
  55. It is *only* guaranteed to take up disk space :-)
  56.  
  57.  
  58. Requirements
  59. ------------
  60. o OS/2 2.0 GA release with CSD Service Pak applied (US or UK flavour)
  61.   (OS/2 2.10.beta Code may also be used with all settings below)
  62.  
  63. o COM.SYS (25000b, dated 93-01-25, 09.49)
  64.   VCOM.SYS (10240b, dated 93-01-25, 09.46)
  65.  
  66. o VFD050PR.ZIP  - Virtual FOSSIL Driver - by Joakim Hernberg (2:270/3@fidonet).
  67.  
  68. o Some people have found that using SIO.SYS and VSIO.SYS from SIO with
  69.   VFD gives good results but remember to leave the MODE setting out as
  70.   they do not need it.
  71.  
  72. The Service Pak (US or UK flavour) files are essential as they contain
  73. modified drivers especially MODE.COM from August that allows the COM
  74. setting of 38400
  75.  
  76.  
  77. CONFIG.SYS
  78. ----------
  79. The important settings below are _dependants_ of the presence of the
  80. above files and fixes on your system. There is absolutely no need to use
  81. any other FOSSIL driver as VFD handles the FOSSIL calls. The example is
  82. for using COM2 only at present.
  83.  
  84.   MAXWAIT=2 (or 1 for 25MHz 386 or faster processors)
  85.  
  86.   (if I understand correctly, this line controls the maximum time, 1 to
  87.   255 secs) that a process can be put on hold before OS/2 ups its
  88.   priority. This ensures that no process can hog the system).
  89.  
  90.   PRIORITY=DYNAMIC
  91.   AUTOFAIL=YES (needed for unattended mode, and command below).
  92.   PAUSEONERROR=NO (this stops the popup box halting the BBS on error).
  93.   THREADS=256 (this is increased from 96, but if a lot of utilities or
  94.               other programs are used, this may be increased up to 4095.
  95.               The "cost" is 10kb per 1000 threads).
  96.   TIMESLICE=32,64 (this increases overall response time).
  97.  
  98.   The MEMMAN setting:
  99.  
  100.   I am recommending that if the system has more than 6 Meg of Ram used
  101.   as:
  102.  
  103.     MEMMAN=SWAP,PROTECT
  104.  
  105.     if less than 6 Meg of Ram be used as:
  106.  
  107.     MEMMAN=SWAP,MOVE
  108.  
  109.  
  110.   PRIORITY_DISK_IO=NO
  111.  
  112.   This setting determines if the foreground should be given a higher
  113.   priority to access the disk than the background tasks. I have no idea
  114.   what effect this setting will have on a BBS running in the background,
  115.   especially if the BBS has been given foreground server priority. I
  116.   think this setting should be tested in different real life situations,
  117.   before we say anything either way. With "NO", file transfer throughput
  118.   is improved by some 50 CPS and no CRC errors detected EXCEPT with
  119.   SEAlink on mailer file transfers.
  120.  
  121.  
  122.   Using VFD as the FOSSIL driver in CONFIG.SYS:
  123.  
  124.   DEVICE=<path>COM.SYS
  125.   DEVICE=<path>VCOM.SYS
  126.   DEVICE=<path>VFD.SYS
  127.   RUN=<path>MODE.COM COM2 38400,n,8,1,,to=on,xon=off,idsr=off,
  128.                      odsr=off,octs=on,dtr=on,rts=hs
  129.  
  130.   (note that the parameters to the RUN command should all be placed on
  131.   one line. Also, if you have a 16550 compatible UART installed, append
  132.   BUFFER=ON to the end of the line).
  133.  
  134.  
  135. RUNFD.BAT
  136. ---------
  137. @echo off
  138. set fd=h:\fd
  139. path=f:\fd;%path%
  140. <path>VFDU l2,ls p4,10
  141.  
  142. fd:
  143. if errorlevel 299 goto unpack
  144. exit
  145.  
  146. :unpack
  147. <path>VFDU p2,-10
  148.  
  149. Used before processing to release the higher class and priority set
  150. above (p4,10).
  151.  
  152. The last priority setting is a delta (difference), this means that you
  153. add or subtract this value from the last value. The level value starts
  154. up at 0 and goes to 31. I suspect that the priority settings might vary
  155. from system to system, but for me p4,10 means that the mailer runs
  156. before my foreground task, and never slows down. My foreground task slows
  157. down for a sec or two, when doing an EMSI handshake, and it will stop
  158. when FrontDoor enters a SEAlink transfer, but this may all change when I
  159. get that part fixed.
  160.  
  161. Setting p4,10 will ensure that the BBS always runs, and if it's giving up
  162. slices properly or not hogging the system in any other way, then you will
  163. never notice it, but if it hogs the CPU, then your other tasks may stop
  164. using p2,0.
  165.  
  166. Clearly it is a descision that you have to make, whether to give the BBS or
  167. yourself priority.
  168.  
  169.  
  170. OS/2 SESSION OPTIONS
  171. --------------------
  172.  
  173.   COM_DIRECT_ACCESS                  ON
  174.   
  175.   (if using VFD (my personal preference) function 14 Watchdog is NOT
  176.   supported therefore if in a Type 7 menu and carrier is lost OS/2 has NO
  177.   way to detect carrier loss, and using this setting gives the called
  178.   program the opportunity to monitor the Carrier Detect Line). I have
  179.   found out whilst testing that at present any other Communications could
  180.   by an errorlevel within FrontDoor i.e. RoboComm etc. upon completion
  181.   losses the VFD FOSSIL setting - To overcome this till FOSSIL fixed I
  182.   now close the Runmail.bat (With this setting set OFF) and fire up
  183.   RoboComm seperately and then when it has finished - fire up the
  184.   Runmail.bat again. which has the above setting set to ON.
  185.  
  186.   COM_FOSSIL                         ON
  187.   COM_HOLD                           ON
  188.   COM_SELECT                         ALL
  189.   IDLE_SENSITIVITY                   75
  190.   IDLE_SECONDS                       0
  191.   DOS_BACKGROUND_EXECUTION           ON
  192.   DOS_BREAK                          OFF
  193.   DOS_FILES                          60
  194.   DPMI_DOS_API                       AUTO
  195.   DPMI_MEMORY_LIMIT                  2
  196.   DPMI_NETWORK_BUFF_SIZE             8
  197.   EMS_FRAME_LOCATION                 AUTO
  198.   EMS_MEMORY_LIMIT                   1024
  199.   HW_ROM_TO_RAM                      OFF
  200.   HW_TIMER                           OFF
  201.   VIDEO_ON_DEMAND_MEMORY             ON
  202.   VIDEO_RETRACE_EMULATION            ON
  203.   VIDEO_ROM_EMULATION                ON
  204.   VIDEO_WINDOW_REFRESH               1
  205.  
  206.  
  207. How to setup the Icon in PM to actually get FrontDoor working in OS/2
  208. ---------------------------------------------------------------------
  209. At the OS/2 PM screen following this step by step guide will enable you
  210. to have FrontDoor run as a seperate icon, references to LH means Left
  211. Hand or button number 1. RH means Right Hand or either button 2 or button
  212. 3 on  a 3 button mouse (Please note this is after amending CONFIG.SYS
  213. etc detailed above and rebooting system to fire up OS/2):
  214.  
  215.  1) Open OS/2 System Icon by LH double clicking with the pointer over the
  216.     icon.
  217.  2) Pointer on Command Prompts and LH Double Click 
  218.  3) With Pointer on Full Screen DOS press
  219.     a) Press LEFT CTRL key on keyboard and hold
  220.     b) Press RH Button on mouse and hold
  221.     c) Move Icon outside the box to the PM area of choice
  222.     d) Release RH button on mouse
  223.     e) Release LEFT CTRL key on keyboard.
  224.   4) Move pointer to newly created icon and Press RH button
  225.   5) Move pointer to right facing arrow on option option 
  226.   6) Press LH button on mouse
  227.   7) Pointer to Settings option
  228.   8) Press LH button on mouse
  229.   9) In path and filename put where exactly your batch file is
  230.      ie c:\fd\fd.bat
  231.  10) Pointer to Session Options
  232.  11) Press LH button on mouse
  233.  12) Pointer on DOS WINDOW 
  234.  13) Press LH button on mouse
  235.  14) Pointer on Close window on exit
  236.  15) Press LH button on mouse
  237.  16) Pointer on DOS SETTINGS
  238.  17) Press LH button on mouse   
  239.  18) Pointer on Default box
  240.  19) Press LH button on mouse.
  241.  20) Go through all the options above and amend them as shown
  242.  21) When completed - Pointer on Save
  243.  22) Press LH Button on mouse
  244.  23) Pointer on General
  245.  24) Press LH button on mouse
  246.  25) Via the keyboard amend the title to whatever you desrire it to be
  247.      ie FrontDoor Mailer
  248.  26) Pointer to small box on TOP LEFT HAND of settings box
  249.  27) Double press LH button quickly on mouse.
  250.  28) The session will have ended and your amended icon is ready.
  251.  29) Pointer to the new FrontDoor Icon 
  252.  30) Double press LH button quickly on mouse.
  253.  
  254. // end of file "fdtn-002.vfd"
  255.